home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Tool Chest / Developer Utilities / Installer 4.0.3 SDK / DeveloperInterfaces / PIncludes / ActionHandlerHeader.p < prev    next >
Encoding:
Text File  |  1994-11-15  |  8.3 KB  |  208 lines  |  [TEXT/MPS ]

  1. {
  2.     File:        ActionHandlerHeader.p
  3.  
  4.     Contains:    xxx put contents here xxx
  5.  
  6.     Written by:    Kevin Aitken
  7.  
  8.     Copyright:    © 1993 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.         <10>     6/21/94    KBA        Updating action IDs because we accidently got the .h and .p
  13.                                     files out of sync for Rsrc Atoms.
  14.          <9>     1/12/94    KBA        Changed "Res" to "Rsrc" for resource progress definitions.
  15.          <8>    12/21/93    KBA        Added kMenuEventActID.
  16.          <7>     11/5/93    KBA        Added more actions.
  17.          <6>    10/27/93    KBA        Added more progress actions.
  18.          <5>    10/25/93    KBA        Added more progress actions.
  19.          <4>     4/30/93    KBA        Made only one Action Atom progress action.
  20.          <3>     4/23/93    KBA        Added action handler constants for rule clauses and few more
  21.                                     progress actions.
  22.          <2>     4/11/93    KBA        Added new DebuggerAction identifier (kStdEventActID).
  23.          <1>      4/1/93    KBA        first checked in
  24.  
  25. }
  26.  
  27.  
  28. UNIT ActionHandlerHeader;
  29.  
  30.  
  31. {****************************************} INTERFACE {****************************************}
  32.  
  33.  
  34. CONST    
  35.  
  36. {==================================================================================================}
  37. {=================================== Script Action Class ==========================================}
  38. {==================================================================================================}
  39.         kScriptAction                = 5000;
  40.         kPackageNotFoundActID        = 5001;
  41.         kAtomNotFoundInPackageActID    = 5002;
  42.         kFrameworkNotFoundActID        = 5003;
  43.         kRuleNotFoundActID            = 5004;
  44.         kFileSpecNotFoundActID        = 5005;
  45.         kFileSpecIsBadActID            = 5006;
  46.         kCouldNotOpenScriptActID    = 5007;
  47.         kFileSpecIDIsBadActID        = 5008;
  48.         kAtomIDIsBadActID            = 5009;
  49.         kNotEnoughMemoryToReadActID    = 5010;
  50.         kSubHeapToSmallActID        = 5011;
  51.         kFileSpecNotFndWithRefActID    = 5012;
  52.         kVersCompareNotFoundActID    = 5013;
  53.         kSearchProcNotFoundActID    = 5014;
  54.         kRuleFunctionNotFoundActID    = 5015;
  55.  
  56. {==================================================================================================}
  57. {==================================== Rule Action Class ===========================================}
  58. {==================================================================================================}
  59.         kRemapActionResultToCancel    = 1;
  60.         kRemapActionResultToError    = -1;
  61.         kRemapActionResultToTRUE    = 1;
  62.         kRemapActionResultToFALSE    = -1;
  63.         kDontRemapActionResult        = 0;
  64.  
  65.         kFireRulesAction            = 5100;
  66.         kFrameworkActID                = 5101;
  67.         kRuleResultActID            = 5102;
  68.         kRuleClauseResultActID        = 5103;
  69.  
  70. {==================================================================================================}
  71. {=================================== Target Action Class ==========================================}
  72. {==================================================================================================}
  73.  
  74.         kTargetAction                = 5200;
  75.         kTgtFileNotFoundActID        = 5201;
  76.         kTgtFileLockedActID            = 5202;
  77.         kTgtErrForFileAtomActID        = 5203;
  78.         kTgtErrForRsrcAtomActID        = 5204;
  79.         kTgtErrForFontAtomActID        = 5205;
  80.         kTgtMatchesSrcErrActID        = 5206;
  81.         kTgtErrForFolderAtomActID    = 5207;
  82.         kTgtErrForResMergeAtomActID    = 5208;
  83.  
  84.  
  85. {==================================================================================================}
  86. {=================================== Source Action Class ==========================================}
  87. {==================================================================================================}
  88.         kSourceAction                = 5300;
  89.         kSrcFileNotFoundActID        = 5301;
  90.         kSrcErrForFileAtomActID        = 5302;
  91.         kSrcErrForRsrcAtomActID        = 5303;
  92.         kSrcErrForFontAtomActID        = 5304;
  93.         kSrcErrForFolderAtomActID    = 5305;
  94.         kSrcErrForResMergeAtomActID    = 5306;
  95.  
  96. {==================================================================================================}
  97. {=================================== Extender Action Class ========================================}
  98. {==================================================================================================}
  99.         kExtenderAction                = 5400;
  100.         kExtCodeRsrcNotFoundActID    = 5401;
  101.         kExtenderRsrcNotFoundActID    = 5402;
  102.         kCallBackNotAvailableActID    = 5403;
  103.         kExtenderResultActID        = 5404;
  104.         kA5NotSetCorrectlyActID        = 5405;
  105.         kTgtSetupProcNotFoundActID    = 5406;
  106.         kVersCodeRsrcNotFoundActID    = 5407;
  107.         kActionAtomCodeRsrcNFActID    = 5408;
  108.         kSearchProcCodeRsrcNFActID    = 5409;
  109.         kSearchProcBadFileActID        = 5410;
  110.         kRuleFuncCodeRsrcNFActID    = 5411;
  111.         kLowModuleSetupMemoryActID    = 5412;
  112.         kNoModuleSetupMemoryActID    = 5413;
  113.  
  114. {==================================================================================================}
  115. {=================================== Debugging Action Class =======================================}
  116. {==================================================================================================}
  117.         kDebuggingAction            = 5600;
  118.         kInitializationActID        = 5601;
  119.         kCloseActID                    = 5602;
  120.         kStdEventActID                = 5603;
  121.         kGenericDebugActID            = 5604;
  122.         kMenuEventActID                = 5605;
  123.  
  124. {==================================================================================================}
  125. {=================================== Progress Action Class ========================================}
  126. {==================================================================================================}
  127.         kProgressAction                = 5700;
  128.         kClickedInstallActID        = 5701;
  129.         kClickedRemoveActID            = 5702;
  130.         kInstallationResultActID    = 5703;
  131.         kRemovalResultActID            = 5704;
  132.         kActionAtomResultActID        = 5705;
  133.  
  134. {==================================================================================================}
  135. {================================== File Process Action Class =====================================}
  136. {==================================================================================================}
  137.         kFileProgressAction            = 5800;
  138.         kFileCopiedID                = 5801;
  139.         kFileNotCopiedID            = 5802;
  140.         kFileNotCopiedNewerLeftID    = 5803;
  141.         kFileNotCopiedLockedID        = 5804;
  142.         kFileUpdatedID                = 5805;
  143.         kFileNotUpdatedKeptExistID    = 5806;
  144.         kFileNotUpdatedNotExistID    = 5807;
  145.         kFileRemovedID                = 5808;
  146.         kFileNotRemovedID            = 5809;
  147.         kFileNotRemovedNoExistID    = 5810;
  148.         kFileNotRemovedLockedID        = 5811;
  149.         kFileSetLockedID            = 5812;
  150.         
  151. {==================================================================================================}
  152. {===================================== Resource Process Action Class ==============================}
  153. {==================================================================================================}
  154.         kRsrcProgressAction            = 5900;
  155.         kRsrcCopiedID                = 5901;
  156.         kRsrcNotCopiedID            = 5902;
  157.         kRsrcNotCopiedNewerLeftID    = 5903;
  158.         kRsrcNotCopiedNotTargetID    = 5904;
  159.         kRsrcNotCopiedProtectedID    = 5905;
  160.         kRsrcUpdatedID                = 5906;
  161.         kRsrcNotUpdatedKeptExistID    = 5907;
  162.         kRsrcNotUpdatedLockedID        = 5908;
  163.         kRsrcNotUpdatedNotExistID    = 5909;
  164.         kRsrcNotUpdatedProtectedID    = 5910;
  165.         kRsrcRemovedID                = 5911;
  166.         kRsrcNotRemovedID            = 5912;
  167.         kRsrcNotRemovedNoExistID    = 5913;
  168.         kRsrcNotRemovedProtectedID    = 5914;
  169.         kRsrcNotRemovedLockedID        = 5915;
  170.                                                 
  171. {==================================================================================================}
  172. {===================================== Font Process Action Class ==================================}
  173. {==================================================================================================}
  174.         kFontProgressAction            = 6000;
  175.         kFontCopiedID                = 6001;
  176.         kFontNotCopiedID            = 6002;
  177.         kFontUpdatedID                = 6003;
  178.         kFontNotUpdatedKeptExistID    = 6004;
  179.         kFontNotUpdatedLockedID        = 6005;
  180.         kFontNotUpdatedNotExistID    = 6006;
  181.         kFontNotUpdatedProtectedID    = 6007;
  182.         kFontRemovedID                = 6008;
  183.         kFontNotRemovedID            = 6009;
  184.         kFontNotRemovedNoExistID    = 6010;
  185.         kFontNotRemovedLockedID        = 6011;
  186.         kFontNotRemovedProtectedID    = 6012;
  187.  
  188. {==================================================================================================}
  189. {==================================== Folder Process Action Class =================================}
  190. {==================================================================================================}
  191.         kFolderProgressAction        = 6100;
  192.         kFolderCopiedID                = 6101;
  193.  
  194.  
  195. {==================================================================================================}
  196. {=================================== ResMerge Process Action Class ================================}
  197. {==================================================================================================}
  198.         kResMergeProgressAction        = 6200;
  199.         kResMergeCopiedID            = 6201;
  200.  
  201. IMPLEMENTATION
  202.     { Implemented by you }
  203.  
  204. END.        { ActionHandlerHeader UNIT }
  205.  
  206.  
  207.  
  208.